package cn.com.open.errorquestion.service.impl;

import cn.com.open.errorquestion.mapper.PagerQuestionMapper;
import cn.com.open.errorquestion.model.PagerQuestion;
import cn.com.open.errorquestion.service.PagerQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class PagerQuestionServiceImpl implements PagerQuestionService {

    @Autowired
    private PagerQuestionMapper pagerQuestionMapper;


    @Override
    public PagerQuestion findOne(PagerQuestion pagerQuestion) {

        return pagerQuestionMapper.findOne(pagerQuestion);
    }

    @Override
    public void save(PagerQuestion pagerQuestion) {
        pagerQuestionMapper.save(pagerQuestion);
    }
}
